import axios from "@/http/http.js";
// 封装获取医疗机构信息接口
export const healthInstitutionFindAPI = (data) => {
    return axios({
        url: '/healthInstitution/findHealthInstitution',
        method: 'post',
        data
    })
};

// 封装通过ID获取医疗机构信息接口
export const healthInstitutionFindByIdAPI = (id) => {
    return axios({
        url: `/healthInstitution/findHealthInstitutionById/${id}`,
        method: 'post',
    })
};